package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
public interface IFDBSalesProducts {
	//get all order lines of the same order
	public ArrayList<SalesProducts> getOrderLines(int saleID, boolean retriveAssociation);
	//add product to the order line
	public void addSalesProduct(SalesProducts salesProduct) throws Exception;
	//update product in the order line
	public void updateProduct(Product product, int quantity, int saleID) throws Exception;
	//delete product from the order line when there's no saleID yet
	public void deleteProduct( int productID) throws Exception;
}